using System;
using System.Collections.Generic;
using UnityEngine;

namespace Voodoo.Utils.Ease
{
	public class AnimationCurves : MonoBehaviour
	{
		public List<CurveInfo> curves = new List<CurveInfo>();

		public void SetUpCurves()
		{
			curves = new List<CurveInfo>();
			for (int i = 0; i < Enum.GetNames(typeof(Ease)).Length; i++)
			{
				CurveInfo curveInfo = new CurveInfo();
				Ease easing = (Ease)i;
				curveInfo.name = easing.ToString();
				curveInfo.curve = CurveEasing.GenerateAnimationCurve(easing);
				curves.Add(curveInfo);
			}
		}
	}
}
